static DH *get_dh3072(void)
{
    static unsigned char dhp_3072[] = {
        0xB3, 0x63, 0x3D, 0x75, 0xD7, 0xFB, 0xFD, 0xF5, 0x80, 0xCA,
        0xD4, 0xDA, 0xC7, 0x1C, 0xB2, 0xA3, 0x8E, 0x92, 0x7F, 0x3E,
        0x15, 0xB2, 0x63, 0x63, 0xF7, 0x94, 0xE5, 0x54, 0x7E, 0x4D,
        0xE4, 0xEC, 0xB0, 0xE3, 0x1E, 0xE6, 0x67, 0xA2, 0x8B, 0x5D,
        0x4C, 0x79, 0x42, 0x9C, 0x97, 0x4D, 0xD9, 0x07, 0x88, 0xEE,
        0xD8, 0x58, 0x3F, 0x3D, 0xA4, 0x52, 0xEB, 0x61, 0x00, 0xE7,
        0x15, 0x07, 0x59, 0x6E, 0x87, 0xF9, 0x2E, 0xC7, 0x4E, 0x56,
        0x70, 0xB1, 0xC7, 0x37, 0x3A, 0xD9, 0x32, 0x6C, 0xA8, 0x3D,
        0xF3, 0x5B, 0x91, 0xFD, 0x61, 0x6F, 0x49, 0x4C, 0x14, 0xF2,
        0x3A, 0x30, 0xC5, 0xE5, 0x2B, 0xE0, 0x6A, 0x73, 0x44, 0xE6,
        0xED, 0x55, 0x45, 0x84, 0x7A, 0x08, 0xFA, 0xE0, 0xE1, 0x3B,
        0x8A, 0x69, 0xEC, 0xC4, 0x16, 0x47, 0xEC, 0x90, 0xA0, 0x94,
        0x69, 0x95, 0xF1, 0x34, 0x26, 0xF2, 0x81, 0x8D, 0xC6, 0xD1,
        0xEA, 0xFE, 0xE5, 0xA7, 0xB5, 0x20, 0xEB, 0xE5, 0xEF, 0xFC,
        0x84, 0x81, 0x9C, 0xF7, 0x6B, 0xBB, 0xDB, 0x9A, 0xE4, 0x91,
        0xFC, 0x57, 0xD1, 0xE9, 0xB1, 0x0B, 0x2B, 0xFC, 0x5B, 0x80,
        0x49, 0x0D, 0x67, 0x71, 0xAD, 0x65, 0x9B, 0xAE, 0xD5, 0x5B,
        0xA4, 0xA3, 0x59, 0x46, 0xD4, 0x68, 0x5C, 0x6B, 0x4F, 0x58,
        0x5D, 0xB1, 0xEE, 0x5B, 0xA3, 0x88, 0x8A, 0x5A, 0xBF, 0xD6,
        0x3F, 0x78, 0x35, 0xA9, 0xB5, 0x43, 0xBA, 0x41, 0xCD, 0x5F,
        0x9B, 0xC8, 0xE7, 0x79, 0x6D, 0x83, 0x0F, 0xBB, 0xEE, 0x76,
        0xC1, 0xE8, 0x17, 0xBB, 0xA9, 0xFF, 0x39, 0xD3, 0x73, 0xAB,
        0x1F, 0x18, 0xB2, 0x4E, 0x81, 0x08, 0xA2, 0x2C, 0x7A, 0x59,
        0x8F, 0xB6, 0x9C, 0x60, 0x61, 0xE6, 0xAB, 0x3B, 0x80, 0xB2,
        0x28, 0xCF, 0x1E, 0x31, 0x46, 0xFC, 0x85, 0x35, 0xE4, 0xEE,
        0x96, 0xB8, 0xFA, 0xC5, 0xCF, 0x9E, 0x34, 0xDD, 0x4E, 0x00,
        0x43, 0xEF, 0xC8, 0x79, 0xFE, 0x79, 0x74, 0x91, 0x48, 0x8C,
        0xFC, 0x8C, 0x36, 0x03, 0x90, 0xD7, 0x14, 0xBC, 0x05, 0x8D,
        0xB9, 0x40, 0xE7, 0x1E, 0x88, 0xF7, 0xCF, 0xFC, 0xA1, 0x02,
        0x08, 0x4E, 0x93, 0x88, 0xD2, 0x8C, 0xAD, 0x42, 0xDE, 0xDE,
        0xFD, 0x59, 0xE1, 0x5A, 0x56, 0x8F, 0x24, 0x9A, 0x44, 0x3E,
        0x30, 0xEC, 0x99, 0xEA, 0x46, 0xB9, 0x78, 0xCA, 0xE7, 0x74,
        0xB2, 0xE8, 0xD3, 0x55, 0x7A, 0x37, 0x0C, 0x2E, 0xEE, 0x06,
        0x09, 0x02, 0xE9, 0x04, 0x0B, 0x05, 0x8F, 0x91, 0xCD, 0x51,
        0x26, 0x2E, 0x50, 0x04, 0x7C, 0x9D, 0xE8, 0xE2, 0x32, 0x13,
        0xE3, 0xE6, 0x43, 0xCB, 0xAB, 0x48, 0x0E, 0xDF, 0xFF, 0xB1,
        0xA2, 0x0A, 0x16, 0xE6, 0xBD, 0x8A, 0xE3, 0x92, 0x56, 0xF0,
        0x86, 0xAF, 0x28, 0xB4, 0x33, 0xFC, 0x49, 0x46, 0x1E, 0xEA,
        0x8D, 0xD9, 0xB3, 0xF3
    };
    static unsigned char dhg_3072[] = {
        0x02
    };
    DH *dh = DH_new();
    BIGNUM *p, *g;

    if (dh == NULL)
        return NULL;
    p = BN_bin2bn(dhp_3072, sizeof(dhp_3072), NULL);
    g = BN_bin2bn(dhg_3072, sizeof(dhg_3072), NULL);
    if (p == NULL || g == NULL
            || !DH_set0_pqg(dh, p, NULL, g)) {
        DH_free(dh);
        BN_free(p);
        BN_free(g);
        return NULL;
    }
    return dh;
}
-----BEGIN DH PARAMETERS-----
MIIBiAKCAYEAs2M9ddf7/fWAytTaxxyyo46Sfz4VsmNj95TlVH5N5Oyw4x7mZ6KL
XUx5QpyXTdkHiO7YWD89pFLrYQDnFQdZbof5LsdOVnCxxzc62TJsqD3zW5H9YW9J
TBTyOjDF5SvganNE5u1VRYR6CPrg4TuKaezEFkfskKCUaZXxNCbygY3G0er+5ae1
IOvl7/yEgZz3a7vbmuSR/FfR6bELK/xbgEkNZ3GtZZuu1Vuko1lG1Ghca09YXbHu
W6OIilq/1j94Nam1Q7pBzV+byOd5bYMPu+52wegXu6n/OdNzqx8Ysk6BCKIselmP
tpxgYearO4CyKM8eMUb8hTXk7pa4+sXPnjTdTgBD78h5/nl0kUiM/Iw2A5DXFLwF
jblA5x6I98/8oQIITpOI0oytQt7e/VnhWlaPJJpEPjDsmepGuXjK53Sy6NNVejcM
Lu4GCQLpBAsFj5HNUSYuUAR8nejiMhPj5kPLq0gO3/+xogoW5r2K45JW8IavKLQz
/ElGHuqN2bPzAgEC
-----END DH PARAMETERS-----
